package com.laixu.estore.dao;

import com.laixu.estore.bean.pojo.User;
import org.apache.ibatis.annotations.Param;

public interface UserDao {
    // @Param 指定参数的取值名字
    User login(@Param("username") String username,
               @Param("password") String password);

    User getUserById(int id);
    int insertUser(User user);
}